package com.ruoyi.project.web.WebUser.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 用户对象 web_user
 * 
 * @author ruoyi
 * @date 2021-02-19
 */
public class WebUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long userId;

    /** 用户名 */
    @Excel(name = "用户名")
    private String loginName;

    /** 密码 */
    @Excel(name = "密码")
    private String passowrd;

    /** 状态(0-正常,1-关闭) */
    @Excel(name = "状态(0-正常,1-关闭)")
    private String status;

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setLoginName(String loginName) 
    {
        this.loginName = loginName;
    }

    public String getLoginName() 
    {
        return loginName;
    }
    public void setPassowrd(String passowrd) 
    {
        this.passowrd = passowrd;
    }

    public String getPassowrd() 
    {
        return passowrd;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userId", getUserId())
            .append("loginName", getLoginName())
            .append("passowrd", getPassowrd())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .toString();
    }
}
